package yl.hs.bmipfull.service.finance;

import yl.hs.bmipfull.pojo.material.PurchaseReceiptEntity;
import yl.hs.bmipfull.service.IBaseService;
import yl.hs.bmipfull.viewmodels.PageQuery;
import yl.hs.bmipfull.viewmodels.PageResult;
import yl.hs.bmipfull.viewmodels.SubmitModel;

import java.text.ParseException;
import java.util.List;
import java.util.Map;


public interface IReceiptFreightSettleService extends IBaseService {
    PageResult<Map<String, Object>> queryPage(PageQuery query, int rowNum, Integer page) throws ParseException;

    List<Map<String, Object>> queryTempSettleDetails(String carrierSn, String startDate, String endDate) throws ParseException;

    Map<String, Object> querySettleDetailsBySettleSN(String settleSN);

    Integer cancelSettle(String settleSN);

    Integer saveSettle(SubmitModel submitModel) throws Exception;

    List<PurchaseReceiptEntity> querySettleOrdersBySettleSN(String settleSN);

//    /**
//     * 入库运费报表
//     *
//     * @param startDate
//     * @param endDate
//     * @param keywords
//     * @return
//     */
//    List<Map<String, Object>> purchaseFreightStatistics(Date startDate, Date endDate, String keywords);

}
